[IA64] sync_console in ia64_init_handler
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Sun, 22 Oct 2006 19:57:29 +0000 (13:57 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Sun, 22 Oct 2006 19:57:29 +0000 (13:57 -0600)
This patch fix the following issue.

1. boot xen
2. push INIT bottun
3. Nothing is printed to serial console.

I add console_start_sync() into ia64_init_handler().
Then this issue is fixed.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen/arch/ia64/linux-xen/mca.c

index 1e4a86061b02786c3e3f48c9ab841f965b72872e..30803dacedddfeeae11c64b2623c95fbc2339ba7 100644 (file)
@@ -80,6 +80,7 @@
 #ifdef XEN
 #include <xen/symbols.h>
 #include <xen/mm.h>
+#include <xen/console.h>
 #endif
 
 #if defined(IA64_MCA_DEBUG_INFO)
@@ -1240,6 +1241,7 @@ ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw)
         */
        ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.pal_min_state | (6ul<<61));
 #else
+       console_start_sync();
        /* Xen virtual address in region 7. */
        ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state[cpu].pal_min_state));
 #endif